import request from '@/utils/request'

// 查询全国省市县三级行政区域信息列表
export function listCity_info(query) {
  return request({
    url: '/charge/city_info/list',
    method: 'get',
    params: query
  })
}

// 查询全国省市县三级行政区域信息详细
export function getCity_info(id) {
  return request({
    url: '/charge/city_info/' + id,
    method: 'get'
  })
}

// 新增全国省市县三级行政区域信息
export function addCity_info(data) {
  return request({
    url: '/charge/city_info',
    method: 'post',
    data: data
  })
}

// 修改全国省市县三级行政区域信息
export function updateCity_info(data) {
  return request({
    url: '/charge/city_info',
    method: 'put',
    data: data
  })
}

// 删除全国省市县三级行政区域信息
export function delCity_info(id) {
  return request({
    url: '/charge/city_info/' + id,
    method: 'delete'
  })
}
